package com.sm.service;

import com.sm.entity.UserInfo;
import com.sm.entity.Welfare;

import java.util.List;

public interface WelfareService {

    //添加奖惩条目
    public void addWelfare(Welfare welfare)throws Exception;

    //为员工添加奖惩
    public void addWelfareForUser(Integer uid,Integer wid)throws Exception;

    //返回所有奖惩条目
    public List<Welfare> findAllWelfare()throws Exception;

    //返回所有奖惩条目
    public List<Welfare> findWelfareByUid(Integer uid)throws Exception;

    //查询用户信息
    public List<UserInfo> findUser(String uid, String name)throws Exception;

}
